<?php ob_start();
session_start();
if(!isset($_SESSION['emid']))
{
header("Location: index.php");
}
?>